package cn.how2go.net.server.thread;

import cn.how2go.net.server.service.CtxMessageService;

public class CtxMessageThread extends Thread {
    private CtxMessageService ctxMessageService;
    public CtxMessageThread(CtxMessageService ctxMessageService){
        this.ctxMessageService = ctxMessageService;
    }

    @Override
    public void run() {
        while(true){
            ctxMessageService.read();
        }
    }
}
